package net.csdn.business.common.domain.request;

import lombok.Data;
import net.csdn.business.common.domain.validation.groups.System;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName: IssuePriorityDTO
 * @Description: issue优先级设置
 * @Author: zhangyl
 * @Date: 2024/12/24 14:54
 */
@Data
public class IssuePriorityDTO implements Serializable {
    @NotBlank(message = "issueId 不合法")
    private String issueId;

    @NotNull(message = "priority不合法")
    private Integer priority;

    @NotBlank(message = "uid 不合法", groups = {System.class})
    private String uid;

    /**
     * {@link net.csdn.business.common.enums.UserTypeEnum}
     */
    private Integer userType;
}